module.exports = {
  devServer: {
    port: 7777,
    proxy: {
      '/api': {
        target: 'http://localhost:9999',
        changeOrigin: true,
        pathRewrite: {
          '^/api': ''
        }
      },
      '/tx': {
        target: 'https://apis.map.qq.com',
        changeOrigin: true,
        pathRewrite: {
          '^/tx': ''
        }
      }
    }
  }
};